package com.iqiyi.pps.epg.core.service.sginal;

import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.api.model.web.query.TPage;
import com.iqiyi.pps.epg.api.model.web.sginal.TSginalDataPage;
import com.iqiyi.pps.epg.core.model.sginal.SginalBase;

/**
 * Created by zhang on 2017/4/27.
 */
public interface SginalService {
    public SginalBase get(int id);
    public int add(SginalBase entity);
    public void update(SginalBase entity);
    public boolean checkByName(String name, Integer id);
    public boolean checkByPort(String port, Integer id);
    public TSginalDataPage getSginalData(TPage page, TFilter filter);
}
